{% extends 'layout.html' %}


{% block content %}

    <div class="panel panel-default container">
        <div class="panel-heading">
            <h3 class="panel-title">编辑用户</h3>
        </div>
        <div class="panel-body">

        </div>
        <form method="post" novalidate>
            {% csrf_token %}

            {% for filed in form %}

                <div class="form-group">
                    <label>{{ filed.label }}</label>
                    {{ filed }}
                    <span style="color: red;">{{ filed.errors.0 }}</span>
                    {#                    <input type="text" class="form-control" name="user" placeholder="姓名">#}
                </div>

            {% endfor %}

            <button style="margin-top: 10px ;margin-bottom: 10px;" type="submit" class="btn btn-primary">提 交</button>

        </form>
    </div>

{% endblock %}